package com.gzs.learn.payment.config.properties;

import com.gzs.learn.common.AppCoordinate;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhisong.guan
 */
@Configuration
@ConfigurationProperties(prefix = "payment.app")
@Data
public class PaymentProperties extends AppCoordinate {
    private String name;
    private String appId;
    private Integer serverPort;
}
